<?php
// +----------------------------------------------------------------------
// | 微信设置
// +----------------------------------------------------------------------
use think\facade\Request;

return [
    //小程序 积分商城
    'applet' => [
        'appid' => 'wxbf7ff1eac2fba066', //小程序应用id
        'appsecret' => '872f94486c5c915f8b990e47e8d276a4', //小程序应用密钥
    ],

    //微信商户支付
    'pay' => [
        'appid' => 'wx7767d81932214736', //支付关联应用id
        'mchid' => '1628473000', //支付服务商的商户id
        'key' => '', //
        'certificate_serial' => '33E92B942944AF57ECB583E82044DB2602CA4707', //证书序列号
        'secret' => 'c3c1f21c704d5d8765af94cfabb74ad2',//在微信平台上设置的APIv3密钥
        'notify_url' => Request::domain().'/api/notify',  //支付回调
    ],
    //微信服务商支付
    'partner' => [
        'sp_appid' => 'wx7767d81932214736', //支付关联应用id
        'sp_mchid' => '1629532211', //支付服务商的商户id
        'key' => '', //
        'certificate_serial' => '46384DF311D9EBB6C4CC108785F882824A48B104', //证书序列号
        'secret' => 'c3c1f21c704d5d8767pf94cfabb74ad2',//在微信平台上设置的APIv3密钥
        'notify_url' => Request::domain(). '/api/partner_pay_notify',  //支付回调
    ],

];